//
//  LogCatRemoteModel.h
//  LogCat
//
//  Created by 清风徐来 on 2024/1/6.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LogCatRemoteModel : NSObject

//MARK: - 远端解析

/// appId
@property (nonatomic, copy) NSString *appId;
/// appKey
@property (nonatomic, copy) NSString *appKey;
/// 排序
@property (nonatomic, assign) NSInteger rank;
/// iOS包名
@property (nonatomic, copy) NSString *bundleId;
/// 总开关
@property (nonatomic, assign) BOOL isAvailable;
/// 配置名称
@property (nonatomic, copy) NSString *locationName;
/// 远端地址
@property (nonatomic, copy) NSString *remoteUrl;
/// 生效的版本集合
@property (nonatomic, strong) NSArray *availableVersions;


/// 初始化远端配置
/// - Parameter configDict: 字典
-(instancetype)initWithRemoteDictionary:(NSDictionary *)configDict;


@end

NS_ASSUME_NONNULL_END
